package entity;

import java.util.List;

public class Auth {
	private int id;
	private String name;
	private int parent_id;
	private String url;
	private int sort;
	private int level;
	private int status;
	private int is_menu;
	private String date_entered;
	private List<Auth> children;
	private int is_checked;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getParent_id() {
		return parent_id;
	}
	public void setParent_id(int parentId) {
		parent_id = parentId;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getIs_menu() {
		return is_menu;
	}
	public void setIs_menu(int isMenu) {
		is_menu = isMenu;
	}
	public String getDate_entered() {
		return date_entered;
	}
	public void setDate_entered(String dateEntered) {
		date_entered = dateEntered;
	}
	public List<Auth> getChildren() {
		return children;
	}
	public void setChildren(List<Auth> child) {
		this.children = child;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	
	public int getIs_checked() {
		return is_checked;
	}
	public void setIs_checked(int isChecked) {
		is_checked = isChecked;
	}
	@Override
	public String toString() {
		return "Auth [children=" + children + ", date_entered=" + date_entered
				+ ", id=" + id + ", is_menu=" + is_menu + ", level=" + level
				+ ", name=" + name + ", parent_id=" + parent_id + ", sort="
				+ sort + ", status=" + status + ", url=" + url + "]";
	}
	
}
